gui_mage = {
	name = "Mage",
	handler = ccR_GUI,
	type = "group",
	args = {
		tblMage_Arcane = {
			name = "Arcane",
			type = "group",
			childGroups = "tree",
			order = 1,
			args = {
				tblArcane_Mage = {
					order = 1,
					type = "header",
					name = "Arcane",
				},
			},
		},
		tblMage_Fire = {
			name = "Fire",
			type = "group",
			childGroups = "tree",
			order = 2,
			args = {
				tblFire_Mage = {
					order = 1,
					type = "header",
					name = "Fire",
				},
			},
		},
		tblMage_Frost = {
			name = "Frost",
			type = "group",
			childGroups = "tree",
			order = 3,
			args = {
               tblMage_3_AutoAoEHeader = {
                    order = 0,
                    type = "header",
                    name = "Automatic AoE Settings",
                },
                tblMage_3_SingleTargetCount = {
                    order = 1,
                    type = "input",
                    name = "Single Target Count",
                    desc = "* Automatic AoE *\n\n Maximum number of targets within 12 yards to use Single Target Rotation.",
                    set = function(info, value) ccRS.Mage_3_SingleTargetCount = tonumber(value) end,
                    get = function(info) return tostring(ccRS.Mage_3_SingleTargetCount) end,
                },
                tblMage_3_AoECount = {
                    order = 2,
                    type = "input",
                    name = "AoE Target Count",
                    desc = "* Automatic AoE *\n\n Minimum number of targets within 12 yards to use AoE Rotation.",
                    set = function(info, value) ccRS.Mage_3_AoECount = tonumber(value) end,
                    get = function(info) return tostring(ccRS.Mage_3_AoECount) end,
                },
                tblMage_3_AbilitiesHeader = {
                    order = 10,
                    type = "header",
                    name = "Abilities",
                },
                tblMage_3_IceLanceFrozen = {
                    name = "IceLance Frozen",
                    desc = "Use Icelance on any enemy that is classed as frozen.",
                    type = "toggle",
                    order = 20,
                    get = function(info) return ccRS.Mage_3_UseIceLanceAnyone end,
                    set = function(info, value) ccRS.Mage_3_UseIceLanceAnyone = value end,
                },
                tblMage_3_Blank_29 = {
                    name = "",
                    type = "description",
                    order = 29,
                },
                tblMage_3_Counterspell = {
                    name = "Counterspell",
                    desc = "Use counterspell if your target is casting a spell.",
                    type = "toggle",
                    order = 30,
                    get = function(info) return ccRS.Mage_3_UseCounterspell end,
                    set = function(info, value) ccRS.Mage_3_UseCounterspell = value end,
                },
                tblMage_3_CounterspellAnyone = {
                    name = "Anyone",
                    desc = "Use counterspell on any enemy that is casting a spell at you.",
                    type = "toggle",
                    order = 31,
                    get = function(info) return ccRS.Mage_3_UseCounterspellAnyone end,
                    set = function(info, value) ccRS.Mage_3_UseCounterspellAnyone = value end,
                },
                tblMage_3_Blank_39 = {
                    name = "",
                    type = "description",
                    order = 39,
                },
                tblMage_3_FreezeGroups = {
                    name = "Freeze",
                    desc = "Uses your Water Elemental's Freeze to the enemies around your target.",
                    type = "toggle",
                    order = 40,
                    get = function(info) return ccRS.Mage_3_UseFreezeGroups end,
                    set = function(info, value) ccRS.Mage_3_UseFreezeGroups = value end,
                },
                tblMage_3_FreezeGroupCount = {
                    order = 41,
                    type = "input",
                    name = "Enemy Count",
                    desc = "How many enemies around your target to use Freeze?",
                    set = function(info, value) ccRS.Mage_3_FreezeGroupCount = tonumber(value) end,
                    get = function(info) return tostring(ccRS.Mage_3_FreezeGroupCount) end,
                },
                tblMage_3_FrostNova = {
                    name = "Frost Nova",
                    desc = "Use Frost Nova when any emeies come within melee range of the player.",
                    type = "toggle",
                    order = 51,
                    get = function(info) return ccRS.Mage_3_UseFrostNova end,
                    set = function(info, value) ccRS.Mage_3_UseFrostNova = value end,
                },
                tblMage_3_Blank_59 = {
                    name = "",
                    type = "description",
                    order = 59,
                },
                tblMage_3_MirrorImage = {
                    name = "Mirror Image",
                    desc = "Uses Mirror Image when you fight a boss.",
                    type = "toggle",
                    order = 61,
                    get = function(info) return ccRS.Mage_3_UseMirrorImage end,
                    set = function(info, value) ccRS.Mage_3_UseMirrorImage = value end,
                },
                tblMage_3_TalentsHeader = {
                    order = 1000,
                    type = "header",
                    name = "Talents - lvl 15",
                },
                tblMage_3_PresenceOfMind = {
                    name = "Presence Of Mind",
                    desc = "Use Presence of Mind when available.",
                    type = "toggle",
                    order = 1001,
                    get = function(info) return ccRS.Mage_3_UsePresenceOfMind end,
                    set = function(info, value) ccRS.Mage_3_UsePresenceOfMind = value end,
                },
                tblMage_3_Blank_1009 = {
                    name = "",
                    type = "description",
                    order = 1009,
                },
                tblMage_3_IceFloes = {
                    name = "Ice Foes",
                    desc = "Use Ice Floes when in combat and moving.",
                    type = "toggle",
                    order = 1010,
                    get = function(info) return ccRS.Mage_3_UseIceFloes end,
                    set = function(info, value) ccRS.Mage_3_UseIceFloes = value end,
                },
                tblMage_3_TalentsHeaderlvl30 = {
                    order = 1050,
                    type = "header",
                    name = "Talents - lvl 30",
                },
                tblMage_3_TemporalShield = {
                    name = "Temporal Shield",
                    desc = "Use Temporal Shield when any enemy is within melee range.",
                    type = "toggle",
                    order = 1060,
                    get = function(info) return ccRS.Mage_3_UseTemporalShield end,
                    set = function(info, value) ccRS.Mage_3_UseTemporalShield = value end,
                },
                tblMage_3_Blank_1069 = {
                    name = "",
                    type = "description",
                    order = 1069,
                },
                tblMage_3_Icebarrier = {
                    name = "Ice Barrier",
                    desc = "Use Ice Barrier when any enemy is within melee range.",
                    type = "toggle",
                    order = 1070,
                    get = function(info) return ccRS.Mage_3_UseIceBarrier end,
                    set = function(info, value) ccRS.Mage_3_UseIceBarrier = value end,
                },
                tblMage_3_TalentsHeaderlvl45 = {
                    order = 1080,
                    type = "header",
                    name = "Talents - lvl 45",
                },
                tblMage_3_RingofFrost = {
                    name = "Ring of Frost",
                    desc = "Uses Ring of Frost when your target is surrounded by alot of enemies.",
                    type = "toggle",
                    order = 1090,
                    get = function(info) return ccRS.Mage_3_UseRingOfFrost end,
                    set = function(info, value) ccRS.Mage_3_UseRingOfFrost = value end,
                },
                tblMage_3_RingofFrostCount = {
                    order = 1091,
                    type = "input",
                    name = "Enemy Count",
                    desc = "How many enemies around your target to use Ring of Frost?",
                    set = function(info, value) ccRS.Mage_3_RingOfFrostCount = tonumber(value) end,
                    get = function(info) return tostring(ccRS.Mage_3_RingOfFrostCount) end,
                },
                tblMage_3_Blank_1099 = {
                    name = "",
                    type = "description",
                    order = 1099,
                },
                tblMage_3_IceWard = {
                    name = "Ice Ward",
                    desc = "Uses Ice Ward when in combat.",
                    type = "toggle",
                    order = 1100,
                    get = function(info) return ccRS.Mage_3_UseIceWard end,
                    set = function(info, value) ccRS.Mage_3_UseIceWard = value end,
                },
                tblMage_3_Blank_1101 = {
                    name = "",
                    type = "description",
                    order = 1101,
                },
                tblMage_3_Frostjaw = {
                    name = "Frostjaw",
                    desc = "Uses Frostjaw to freeze your enemy.",
                    type = "toggle",
                    order = 1200,
                    get = function(info) return ccRS.Mage_3_UseFrostjaw end,
                    set = function(info, value) ccRS.Mage_3_UseFrostjaw = value end,
                },
                tblMage_3_TalentsHeaderlvl60 = {
                    order = 1300,
                    type = "header",
                    name = "Talents - lvl 60",
                },
                tblMage_3_ColdSnap = {
                    name = "Cold Snap",
                    desc = "Uses Cold Snap when Ice Block, Frost Nova and Cone of Cold are on cooldown.\n\n Or you are below 30% Health.",
                    type = "toggle",
                    order = 1310,
                    get = function(info) return ccRS.Mage_3_UseColdSnap end,
                    set = function(info, value) ccRS.Mage_3_UseColdSnap = value end,
                },
                tblMage_3_TalentsHeaderlvl75 = {
                    order = 1400,
                    type = "header",
                    name = "Talents - lvl 75",
                },
                tblMage_3_NetherTempest = {
                    name = "Nether Tempest",
                    desc = "Uses Nether Tempest on all tapped enemies.",
                    type = "toggle",
                    order = 1410,
                    get = function(info) return ccRS.Mage_3_UseNetherTempest end,
                    set = function(info, value) ccRS.Mage_3_UseNetherTempest = value end,
                },
                tblMage_3_Blank_1419 = {
                    name = "",
                    type = "description",
                    order = 1419,
                },
                tblMage_3_LivingBomb = {
                    name = "Living Bomb",
                    desc = "Uses Living Bomb on all tapped enemies.",
                    type = "toggle",
                    order = 1420,
                    get = function(info) return ccRS.Mage_3_UseLivingBomb end,
                    set = function(info, value) ccRS.Mage_3_UseLivingbomb = value end,
                },
                tblMage_3_Blank_1429 = {
                    name = "",
                    type = "description",
                    order = 1429,
                },
                tblMage_3_FrostBomb = {
                    name = "Frost Bomb",
                    desc = "Uses Frost Bomb on your target.",
                    type = "toggle",
                    order = 1430,
                    get = function(info) return ccRS.Mage_3_UseFrostBomb end,
                    set = function(info, value) ccRS.Mage_3_UseFrostBomb = value end,
                },

			},
		},
	},
}